package com.bestow.basic.mapper;

import java.util.List;
import com.bestow.basic.domain.FndCurrency;

/**
 * 币种Mapper接口
 * 
 * @author liliu
 * @date 2022-09-02
 */
public interface FndCurrencyMapper 
{
    /**
     * 查询币种
     * 
     * @param currencyCode 币种主键
     * @return 币种
     */
    public FndCurrency selectFndCurrencyByCurrencyCode(String currencyCode);

    /**
     * 查询币种列表
     * 
     * @param fndCurrency 币种
     * @return 币种集合
     */
    public List<FndCurrency> selectFndCurrencyList(FndCurrency fndCurrency);

    /**
     * 新增币种
     * 
     * @param fndCurrency 币种
     * @return 结果
     */
    public int insertFndCurrency(FndCurrency fndCurrency);

    /**
     * 修改币种
     * 
     * @param fndCurrency 币种
     * @return 结果
     */
    public int updateFndCurrency(FndCurrency fndCurrency);

    /**
     * 删除币种
     * 
     * @param currencyCode 币种主键
     * @return 结果
     */
    public int deleteFndCurrencyByCurrencyCode(String currencyCode);

    /**
     * 批量删除币种
     * 
     * @param currencyCodes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFndCurrencyByCurrencyCodes(String[] currencyCodes);
}
